Skip to main content

Git Notes

Changing Commit Message After Push

Source

git commit --amend

or

git commit -m --amend

Enter the new commit message then

git push --force-with-lease <repo> <branch>